# ifndef __ComboBox_H_
# define __ComboBox_H_

struct CComboBoxData {
	UINT uiText;
	int nCode;
};

void FillComboBox (HWND _hWnd, UINT _uiCB, const CComboBoxData * _cbd, size_t _cItems, int _nInitCode);
void AddComboBox (HWND _hCB, size_t _cItem, LPARAM _lParam, const TCHAR * _strItem);
void AddComboBox (HWND _hCB, size_t _cItem, LPARAM _lParam, UINT _uiText);
void SelectComboBox (HWND _hCB, size_t _cItem);
bool GetComboBoxItemData (HWND _hWnd, UINT _uiCB, int & _nCode);

# endif // __ComboBox_H_